package com.cx.mall.user.model;

import com.cx.mall.common.util.EncryptUtils;
import com.cx.mall.user.entity.UserReceiveAddress;

import java.io.Serializable;

public class UserReceiveAddressDTO extends UserReceiveAddress implements Serializable
{
    private static final long serialVersionUID = 1L;
    private String receiveAddress;
    public String getReceiveAddress(){
        return getProvince() + getCity() + getRegion() + getDetailAddress();

    }
    public String getPhoneNumber(){
        return EncryptUtils.hidePhone(super.getPhoneNumber());
    }
}
